package com.kye.express.business.jd.goods_list_by_category.model;

/**
 * @author : Joe
 * @version : 1.0
 * @editor : Joe
 * @created : 29/01/2018
 * @updated : 29/01/2018
 * @description : <Description>
 * @update_reason : <UpdateReason>
 */

public enum JDIntegralScopeType {

    TYPE_LEVEL_1(0, "6万积分以下", 0, 60000),
    TYPE_LEVEL_2(1, "6万-10万分", 60000, 100000),
    TYPE_LEVEL_3(2, "10万-20万分", 100000, 200000),
    TYPE_LEVEL_4(3, "20万份以上", 200000, Integer.MAX_VALUE);

    private int type;
    private String desc;
    private int from;
    private int to;

    JDIntegralScopeType(int type, String desc, int from, int to) {
        this.type = type;
        this.desc = desc;
        this.from = from;
        this.to = to;
    }

    public int getType() {
        return type;
    }

    public String getDesc() {
        return desc;
    }

    public int getFrom() {
        return from;
    }

    public int getTo() {
        return to;
    }
}
